package com.fz.mapper;

import com.fz.entity.Admin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Z-C-Y on 2018-03-07.
 * 后台的登录注册
 */
@Service
public interface AdminLoginMapper {
    /*查询admin用的注册表是否有此用户*/
    public List<Admin> queryAdmin(@Param("username")String uaername,@Param("password") String password);
    /*添加新用户*/
    public int addAegister(@Param("username") String username,@Param("password") String password);


}
